package m.html.element.attr;


public enum ButtonType {
    DEFAULT("default",""),PRIMARY("primary",""),ERROR("primary","danger"),LINK("link",""),
    GHOST("primary","ghost"),GHOST_ERROR("primary","ghost_danger"),LINK_ERROR("link","danger"),
    SUCCESS("primary success",""),WARN("primary warn","");
    private final String type;
    private final String param;
    ButtonType(String type, String param){
        this.type=type;
        this.param=param;
    }
    public String getType() {
        return type;
    }
    public String getParam() {
        return param;
    }
    public String toString(){
        return this.type+this.param;
    }
}